package com.jfree.common;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.TreeMap;

/**
 * @author wangjian
 * @date 2019/10/14 14:53
 */
public class Student {

    private String id;
    private String name;
    /**
     * 0 男，1女
     */
    private int sex;


    public Student() {

    }

    public Student(String id, String name, int sex) {
        this.id = id;
        this.name = name;
        this.sex = sex;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public static void main(String[] args) {
        Map<String,Integer> map=new HashMap<>();
        map.put("4",4);
        map.put("5",5);
        map.put("2",2);
        map.put("1",1);

        System.out.println(map.values().toString());
    }
}
